package com.ezops.model;

public class DefaultFieldValidationError implements FieldValidationError {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String errormessage;
	private String fieldName;
	private String fieldValue;
	public DefaultFieldValidationError(String error, String fledName, String fieldValue){
		this.errormessage =error;
		this.fieldName =fledName;
		this.fieldValue=fieldValue;
	}

	@Override
	public String getErrorMessage() {
		return errormessage;
	}

	@Override
	public String getFieldName() {
		return fieldName;
	}

	@Override
	public String getFieldValue() {
		return fieldValue;
	}

}
